package com.wngbms.aop.staticproxy;

public class StaticProxyDemo {

    public static void main(String[] args) {
        // 静态代理主要使用, 继承 + 组合的方式来实现
        EchoService echoService = new EchoServiceProxy(new DefaultEchoService());
        echoService.echo("wngbms");
    }
}
